package com.app.repository;

import com.app.common.PageBean;
import com.app.bean.dto.RecommendQueryPage;
import org.bson.types.ObjectId;

import java.io.Serializable;
import java.util.List;

/**
 * @autor xiaoyu.fang
 * @date 2019/10/10 11:17
 */
public interface IRecommendRepository<Recommend, ID extends Serializable> {

    void updateDataStatusById(Integer dataStatus, ObjectId id);

    List<Recommend> queryRecommendation();

    PageBean queryPage(RecommendQueryPage page);
}
